import {
    defineStore
} from 'pinia'

export const meunStore = defineStore('meun', {
    state() {
        return {
            isCollapse: false,
        }
    },
    getters: {
        getIsCollapse: state => state.isCollapse,
    },
    actions: {
        toggleMenu() {
            // window.localStorage.setItem('isCollapse', !this.isCollapse)
            this.isCollapse = !this.isCollapse
        },
    }
})